const approStateObj = {
  0: {
    text: "草稿",
  },
  1: {
    text: "企业待审核",
  },
  2: {
    text: "主管单位待审核",
  },
  3: {
    text: "已审核待签约",
  },
  4: {
    text: "已签约待缴费",
  },
  5: {
    text: "待入住",
  },
  6: {
    text: "入住成功",
  },
};
// 驳回状态
const rejectStateObj = {
  0: {
    text: "未驳回",
  },
  1: {
    text: "驳回",
  },
};

export function getApproStateObj(approState) {
  if (approState in approStateObj) {
    return approStateObj[approState];
  }
  return {
    text: "/",
  };
}
export function getRejectStateObj(rejectState) {
  if (rejectState in rejectStateObj) {
    return rejectStateObj[rejectState];
  }
  return {
    text: "/",
  };
}
